import request from "@/utils/request";

//获取热门城市列表
export const setHotCity = function () {
  return request.get('/area/hot')
}

//获取一级城市列表
export const setFirstCity = function () {
  return request.get('/area/city',{params:{level:1}})
}

//获取小区
export const getHouse = function (params) {
  return request.get('/area/community',{params})
}